
include_directories(${CMAKE_SOURCE_DIR}/include)

add_definitions(-DVX_LIBRARY_STATIC)

add_executable(createandteardown createandteardown.c)
target_link_libraries(createandteardown vx)

add_executable(stereocamera stereocamera.c)
target_link_libraries(stereocamera vx)


find_package(SDL)
if(SDL_FOUND)
	include_directories(${SDL_INCLUDE_DIR})
	add_executable(simplesdl simplesdl.c)
	target_link_libraries(simplesdl vx ${SDL_LIBRARY})
endif()
